From c68c6c6b181a2f0f2e6fdb6ace65e9082d5319ce Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 16 Oct 2007 17:40:22 +0100 Subject: [PATCH] x86: Initialise INVLPG support to PTEs only for all CPUs, not just BP. Signed-off-by: Keir Fraser --- xen/arch/x86/cpu/common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/cpu/common.c b/xen/arch/x86/cpu/common.c index c333ac36f2..a578a7b108 100644 --- a/xen/arch/x86/cpu/common.c +++ b/xen/arch/x86/cpu/common.c @@ -314,6 +314,7 @@ void __devinit identify_cpu(struct cpuinfo_x86 *c) c->x86_vendor_id[0] = '\0'; /* Unset */ c->x86_model_id[0] = '\0'; /* Unset */ c->x86_max_cores = 1; + c->invlpg_works_ok = 1; /* no superpage INVLPG by default */ c->x86_clflush_size = 0; memset(&c->x86_capability, 0, sizeof c->x86_capability); -- 2.30.2